package com.zld.smarket.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

public class Shelvesdown implements Serializable {
    private Long shelvesdownId;

    private Long shelvesdownNo;

    private Long shelvesdownNum;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date shelvesdownDate;

    private String shelvesdownReason;

    private Long goodsNo;

    private Long supplierId;

    private Long shelvesNo;

    private static final long serialVersionUID = 1L;

    public Long getShelvesdownId() {
        return shelvesdownId;
    }

    public void setShelvesdownId(Long shelvesdownId) {
        this.shelvesdownId = shelvesdownId;
    }

    public Long getShelvesdownNo() {
        return shelvesdownNo;
    }

    public void setShelvesdownNo(Long shelvesdownNo) {
        this.shelvesdownNo = shelvesdownNo;
    }

    public Long getShelvesdownNum() {
        return shelvesdownNum;
    }

    public void setShelvesdownNum(Long shelvesdownNum) {
        this.shelvesdownNum = shelvesdownNum;
    }

    public Date getShelvesdownDate() {
        return shelvesdownDate;
    }

    public void setShelvesdownDate(Date shelvesdownDate) {
        this.shelvesdownDate = shelvesdownDate;
    }

    public String getShelvesdownReason() {
        return shelvesdownReason;
    }

    public void setShelvesdownReason(String shelvesdownReason) {
        this.shelvesdownReason = shelvesdownReason == null ? null : shelvesdownReason.trim();
    }

    public Long getGoodsNo() {
        return goodsNo;
    }

    public void setGoodsNo(Long goodsNo) {
        this.goodsNo = goodsNo;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public Long getShelvesNo() {
        return shelvesNo;
    }

    public void setShelvesNo(Long shelvesNo) {
        this.shelvesNo = shelvesNo;
    }
}